﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="dog.aspx.cs" Inherits="dog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/base.css" rel="stylesheet" type="text/css" />
    <link href="css/service.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        function closediv() {
            this.parent.document.getElementById("dogFram").style.display = "none";
        }
        function opendog() {
            if (confirm('您确定要开通精灵狗吗？')) {
                $.post("Handler/Dog.ashx", { action: "open" }, function (data) {
                    alert(data);
                    closediv();
                });
            }
        }
        function canceldog() {
            if (confirm('您确定要取消精灵狗吗？')) {
                $.post("Handler/Dog.ashx", { action: "cancel" }, function (data) {
                    alert(data);
                    closediv();
                });
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="self_window" style="height:155px; width:240px">
	<div class="self_window_top white font14 font-weight">精灵狗</div>
    <div class="self_window_c">
        <ul>
            <li><span class="font-weight font14">开通精灵狗后，每次软件登陆都需要插着精灵狗使用！</span></li>
            <li><img onclick="opendog()" border="0" src="images/kaitong.png" alt="" style="cursor:hand"/>&nbsp;   <img onclick="canceldog()" src="images/btn_cancel.jpg" alt="" style="cursor:hand"/>&nbsp;     <img src="images/close.png" alt="" onclick="closediv()" style="cursor:hand"/>
            </li>
        </ul>
    </div>
    </div>
    </form>
</body>
</html>
